package com.wang.project.service;

import com.wang.project.model.dto.approval.ApprovalQueryRequest;
import com.wang.project.model.dto.approval.ApprovalReSubmitRequest;
import com.wang.project.model.dto.approval.ApprovalSubmitRequest;
import com.wang.project.model.entity.Approval;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.project.model.vo.ApprovalVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 胡歌的腿毛
* @description 针对表【approval】的数据库操作Service
* @createDate 2023-09-29 22:36:15
*/
public interface ApprovalService extends IService<Approval> {

    List<ApprovalVO> getApprovalList(ApprovalQueryRequest approvalQueryRequest, HttpServletRequest request);

    Boolean approvalSubmit(ApprovalSubmitRequest approvalSubmitRequest, HttpServletRequest request);

    Boolean approvalReSubmit(ApprovalReSubmitRequest approvalReSubmitRequest, HttpServletRequest request);
}
